import { number } from "echarts";

/**
 * 自定义查询接口
 */
export interface productsReq extends PageQuery {
    productName: string;
}

export interface productsResp {
    categoryId: number;
    categoryName: string;
    productId: number;
    productName: string;
    saleNot: number;
    iamgeUrl: string;
    isDiscount: string;
    productPrice: number;
    inventory: number;
    detail: string;
    isCreditsExchange: number;
    freeNot: number;
}

export interface FormReq {
    productId?: number| null| undefined;
    categoryId: number;
    superId: number;
    productName: string;
    saleNot: number;
    imageUrl: string;
    isDiscount: string;
    productPrice: number;
    inventory: number;
    detail: string;
    isCreditsExchange: number;
    freeNot: number;
    templateId: number;

}
